Skip to content

Checking get workflow history when sticky decision task #631

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yux0
Copy link
Contributor

@yux0 yux0 commented Aug 24, 2021

We see NPE in ReplayDecider with line: decisionTask.getHistory().getEvents().get(0).getWorkflowExecutionStartedEventAttributes();

In ReplayDecisionTaskHandler, we have special handling for sticky decision task that has a partial history. But we do not check the returned history. So add a check to get workflow history when sticky decision task

@yux0 yux0 requested review from meiliang86 and a team August 24, 2021 17:46
@yux0 yux0 marked this pull request as draft August 24, 2021 17:50
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant